home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97b.txt
/
000073_icon-group-sender _Mon Sep 22 08:22:06 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id IAA19372
for <icon-group-addresses@cheltenham.CS.Arizona.EDU>; Mon, 22 Sep 1997 08:22:05 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA02917; Mon, 22 Sep 1997 08:22:05 -0700
To: icon-group@cs.arizona.edu
Date: Mon, 22 Sep 1997 14:55:37 +1000
From: Stuart.Robinson@anu.edu.au (Stuart Robinson)
Message-Id: <Stuart.Robinson-2209971455380001@asianstmg-221.anu.edu.au>
Organization: ANU
Sender: icon-group-request@cs.arizona.edu
Subject: if not find a and/or b, do x
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Hello, all.
I want to write up a little program that does, among other things, some
error checking for me. Basically, if the program finds a certain element
in a line, I want it to look for two other elements and to write the line
if one or both of those two other elements are missing.
Ex.
if find( "{T" )
then if not find( "{A" | "{O" )
then write( line )
should write (1), (2), and (3), but not (4)
1. {T
2. {T {A
3. {T {O
4. {T {O {A
Thanks in advance.
Cheers,
Stuart
--
Stuart Robinson <Stuart.Robinson@no_spam!anu.edu.au>
The Australian National University
*TO REPLY, REMOVE "no_spam!" FROM E-MAIL ADDRESS GIVEN ABOVE